import numpy as np
import matplotlib.pyplot as plt

dataset = np.load('dataset0.npz')
# x= range(len(data[0,0,:]))
data = dataset['data']
channels = dataset['channels']

for i in range(len(channels)):


    plt.figure(figsize=(12, 5.5))
    plt.title(channels[i])
    plt.plot(data[i])
    plt.savefig(channels[i])
    # plt.show()
